<template>
  <div class="web-container">
    <span class="router-title">当前位置：<router-link to="/">首页</router-link> ><router-link to="/mymessage">消息中心</router-link>> <span class="title">{{data.title}}</span></span>
    <div class="content">
      <!-- <div class="content-top">
        <img class="content-cover" :src="this.$route.query.cover" alt="">
        <div class="content-top-right">
          <span class="content-title" v-html="this.$route.query.title">
            {曹文轩《疯狗浪》武汉新书发布暨签售会}
          </span>
          <span class="content-time"> <i class="iconfont icon-time"></i>2018年10月6日 15:00~2018年10月6日 17:30</span>
          <span class="content-address"> <i class="iconfont icon-address-"></i>(湖北武汉) 硚口区武汉园博会长江文明馆</span>
        </div>
      </div> -->
      <div class="content-bottom">
        <!-- <span class="title">活动详情</span> -->
        <div
          class="desc"
          v-html="data.content"
        >
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      data:{}
    };
  },
  components: {},
  created() {
    this.data =JSON.parse(this.$route.query.data)
  },
  methods: {
  }
};
</script>
<style lang="less" scoped>
.router-title {
  display: block;
  font-size: 15px;
  margin: 30px 0;
  .title {
    // color: #a1a1a1;
  }
}
.content {
  min-height: 400px;
  background: #fff;
  border-radius: 10px;
  padding: 30px 130px;
  .content-top {
    display: flex;
    .content-cover {
      margin-bottom: 40px;
    }
    .content-top-right {
      margin-left: 30px;
      display: flex;
      flex-direction: column;
      .iconfont {
        color: #a1a1a1;
        font-size: 20px;
        vertical-align: middle;
        margin-right: 10px;
      }
      .content-title {
        font-size: 24px;
        color: #252525;
      }
      .content-time {
        margin-top: 38px;
        font-size: 14px;
        line-height: 30px;
      }
      .content-address {
        margin-top: 26px;
        font-size: 14px;
        line-height: 30px;
      }
    }
  }
  .content-bottom {
    .title {
      display: block;
      padding: 6px 5px;
      font-size: 16px;
      color: #15c798;
      font-weight: bold;
      border-bottom: 1px solid #c1c1c1;
    }
    .desc {
      padding-top: 30px;
      padding-bottom: 150px;
      font-size: 17px;
      line-height: 25px;
      text-align: justify;
      color: #252525;
    }
  }
}
</style>
<style scoped>
.desc >>> img {
  width: 80% !important;
  height: 90%;
}
.desc >>> span {
  font-size: 17px !important;
  line-height: 25px;
  text-align: justify;
}
</style>


